package com.sgb.goods.view.adapter.order;

import androidx.databinding.ViewDataBinding;

import com.chad.library.adapter.base.BaseViewHolder;
import com.sgb.goods.BR;
import com.sgb.goods.entity.order.OrderPayDetailEntity;
import com.sgb.goods.utils.base.adapter.BaseCommonAdapter;

/**
 * 描述：商品订单付款（收款）信息列表适配器
 *
 * @author qiangHeNoo
 * <p>
 * 时间：2021.12.20
 */
public class PayInformationAdapter extends BaseCommonAdapter<OrderPayDetailEntity> {

    public PayInformationAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder baseHolder, ViewDataBinding dataBinding, OrderPayDetailEntity entity) {
        dataBinding.setVariable(BR.adapter, this);
        dataBinding.setVariable(BR.orderPayDetailEntity, entity);
    }

}
